using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 请假实体
    /// </summary>
    [SugarTable("Leave")]
    public class LeaveEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 流程号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public string OrganizationName { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string ApplyerJob { get; set; }

        /// <summary>
        /// 职称
        /// </summary>
        public string ApplyerTitle { get; set; }

        /// <summary>
        /// 职称
        /// </summary>
        public string LeaveType { get; set; }

        /// <summary>
        /// 请假类型
        /// </summary>
        public string LeaveTypeName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string StatusName { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 推送状态 -1 :推送失败，0：待推送，1:推送成功
        /// </summary>
        public int PushStatus { get; set; }

        /// <summary>
        /// 推送状态名称
        /// </summary>
        public string PushStatusName { get; set; }

        /// <summary>
        /// 推送错误信息
        /// </summary>
        public string PushErrorMsg { get; set; }

        /// <summary>
        /// 推送日期
        /// </summary>
        public DateTime? PushDate { get; set; }
    }
}
